'use strict';

module.exports = app => {
  const { STRING, INTEGER, JSON } = app.Sequelize;

  const Station = app.model.define('station', {
    id: {
      autoIncrement: true,
      primaryKey: true,
      type: INTEGER,
    },
    station_num: STRING,
    station_name: STRING,
    crose_train: JSON,
  });

  return Station;
};
